package partone;

/**
 * @author shkstart
 * @date 2022/4/29 - 21:58
 */
public class Order {
    private int orderPrivate;
     int orderDefault;
    public int orderPublic;

    // method 方法   Public 公有 Protected 保护
    private void methodPrivate(){
        orderDefault = 1;
        orderPrivate = 2;
        orderPublic = 3;
    }

    void methodDefault(){
        orderDefault = 1;
        orderPrivate = 2;
        orderPublic = 3;
    }

    public void methodPublic(){
        orderDefault = 1;
        orderPrivate = 2;
        orderPublic = 3;
    }
}
